<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>#AllowSameLineComments</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="../static/theme.css" rel="stylesheet" type="text/css" />
<script src="../static/content.js" type="text/javascript"></script>
</head>
<body>

<h1>#AllowSameLineComments</h1>

<p><strong>Removed in v1.1.09:</strong> AutoIt scripts are no longer supported.</p>

<p>Only for AutoIt v2 (.aut) scripts: Allows a comment to appear on the same line as a command.</p>

<pre class="Syntax">#AllowSameLineComments</pre>
<p>Specifying this directive at the <strong>top</strong> of any AutoIt v2 (.aut) script will enable the use of same-line comments, which are normally disabled for compatibility reasons. If not used at the top of the script, same-line comments are not supported above the point where the directive occurs.</p>
<h3>Example</h3>
<pre class="NoIndent">#AllowSameLineComments
Sleep, 1  <em>; This comment is a same-line comment.</em></pre>

</body>
</html>
